<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="js/jquery.js"></script>
    <script>
        $(function () {
            $("#btn").click(function () {
                /*$.ajax({
                    url:"http://192.168.1.196/ajax/p",
                    dataType:"jsonp",
                    success:function (data) {
                        $("#text").val(data.info);
                    }
                });*/

                $.ajax({
                    url:"http://192.168.1.196/ajax/Origin",
                    dataType:"json",
                    success:function (data) {
                        $("#text").val(data.info);
                    }
                });
            });
        })
    </script>
</head>
<body>
    <textarea id="text" style="width: 400px;height:100px;"></textarea><br>
    <input id="btn" type="button" value="跨域获取数据">
</body>
</html>